package pta06;
import java.util.Arrays;
import java.util.Scanner;
public class pta652 {

	public static void main(String[] args) {
		Scanner in=new Scanner(System.in);
		int n=in.nextInt();
		int[] arr=new int[n];
		for (int i = 0; i < arr.length; i++) {
			try{
				arr[i]=Integer.parseInt(in.next());
			}catch(NumberFormatException e){
				System.out.println(e);
				//i--;
			}
		}
		System.out.println(Arrays.toString(arr));
		in.close();
	}

}
